package com.jorkyin.waterdrop.ui.main

import android.os.Bundle
import androidx.navigation.findNavController
import androidx.navigation.ui.setupWithNavController
import com.jorkyin.waterdrop.R
import com.jorkyin.waterdrop.base.BaseActivity
import com.jorkyin.waterdrop.databinding.MainActivityBinding

class MainActivity : BaseActivity() {

    private lateinit var binding: MainActivityBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        binding = MainActivityBinding.inflate(layoutInflater)
        setContentView(binding.root)

        val navController = findNavController(R.id.nav_fragment)
        binding.navView.setupWithNavController(navController)
    }
}